<?php
require_once '../controller.php';
$s = new Student($params->s);
$form = new Form('add_student_form','post');
$form->textInput('student_id','',array('class'=>'invisible','value'=>$s->id));
$form->textInput('full_name','Full Name',array('required'=>true,'tabindex'=>'1','value'=>$s->full_name));
$form->textInput('email','GMail Address',array('required'=>true,'tabindex'=>'2','value'=>$s->email));
$form->button('modify_student_submit','Modify Student',array('type'=>'submit','tabindex'=>'3'),false);
$form->button('modify_student_submit','Cancel',array('type'=>'button','onclick'=>'closePopup();','tabindex'=>'4'),false);
die($form->build());